#/usr/local/dev python
li=[2,3,4,5,6,7,8,9,10,11,12,15,14,17,13]
key=0
for i in li:
    for j in range(2,i):
        if i%j == 0:
            break
    else:
        key += 1

print(key)


